﻿namespace dz.u9.jky.schema.Attrib
{
    /// <summary>
    /// 简单对象属性，只需要映射字段
    /// </summary>
    public class DzSimpleObject : DzBaseFieldAttrib
    {
        /// <summary>
        /// 映射字段属性名
        /// </summary>
        public string MapName { get; set; } = "Code";
        public DzSimpleObject(string fullName) : base(fullName)
        {
        }

        public DzSimpleObject(string fullName, string mapName) : base(fullName)
        {
            MapName = mapName;
        }
    }
}
